package triangle;

/**
 * This file is part of Rodney Ryan's submission of
 * his solution to the "Triangle Puzzle".
 * <p/>
 * The interface for objects which can hold data
 * for a triangle. Rows are loaded from bottom
 * to top.
 *
 * rodney@rodneyryan.com
 */
public interface Triangle {

    public int getNumberOfRows();

    public int loadRow(long[] buffer);

    public void dispose();
}
